import request from '/@/utils/request'

export function ssoGetOauthInfo(query:object) {
    return request({
        url: '/api/v1/sso/server/oauth/authorize',
        method: 'get',
        params: query
    })
}

export function ssoAuthorize(data:object) {
    return request({
        url: '/api/v1/sso/server/oauth/authorize',
        method: 'post',
        data: data
    })
}
